package com.example.control;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }


    /**
     * 跳转Snackbar页面
     * @param view
     */
    public void Snackbar(View view) {
        intentActivity(SnackbarActivity.class);
    }

    /**
     * 跳转TextlnputLayout
     * @param view
     */
    public void TextlnputLayout(View view) {
        intentActivity(TextlnputLayoutActivity.class);
    }

    public void FloatingActionButton(View view) {
        intentActivity(FloatingActionButtonActivity.class);
    }

    /**
     * 侧滑菜单
     * @param view
     */
    public void drawer(View view) {
        intentActivity(DrawerActivity.class);
    }
}